Reorder and selection persistence of displayed objects

ABSTRACT

Providing a thumbnail view of a document or other dataset is disclosed. A user input data associated with a user interaction with a thumbnail as displayed in a viewer component is received via a user interface associated with a viewer component. A tracking data reflecting the interaction is stored in a local data structure. The tracking data stored in the local data structure is used to ensure that a thumbnail affected by the user input is displayed by the viewer component in a manner that reflects the user input.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This is a continuation, and claims a benefit of priority under 35 U.S.C. § 120, of U.S. patent application Ser. No. 15/682,195 filed Aug. 21, 2017, entitled “REORDER AND SELECTION PERSISTENCE OF DISPLAYED OBJECTS,” which is a continuation, and claims a benefit of priority under 35 U.S.C. § 120, of U.S. patent application Ser. No. 13/628,402 filed Sep. 27, 2012, entitled “REORDER AND SELECTION PERSISTENCE OF DISPLAYED OBJECTS,” issued as U.S. Pat. No. 9,785,307, which are fully incorporated by reference herein.

BACKGROUND OF THE INVENTION

Many third party viewers that support thumbnail views of documents or other sets of objects have a restriction of certain formats and size of the document or other object set. The thumbnails are also typically solely used for the purpose of navigating within a document or other object set. Maintaining the integrity of very large documents while allowing page modification or other operations, for example, is a big challenge. As a result, typical client side frameworks that support an infinite view of datasets (i.e., not limited by number of pages or other objects to be displayed, e.g., as thumbnails) typically only allow a user to view and navigation through them.

For a large document or other dataset, the viewer typically cannot maintain persistently any changes done by a user to the dataset, if permitted, as they get overwritten when fetched again from server. Current viewers typically do not support selection of items within infinite datasets; instead, knowledge of the selected state of a selected object typically gets lost during scrolling.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.

FIG. 1 is a block diagram illustrating an embodiment of a content management system.

FIG. 2A is a block diagram illustrating an embodiment of an infinite grid display.

FIG. 2B is a block diagram illustrating an embodiment of an infinite grid display, in which the result of a drag and drop of the thumbnails representing pages 14 and 15 have been dragged to and dropped at an insertion point between pages 17 and 18.

FIG. 2C is a block diagram illustrating an embodiment of an infinite grid display in which a reorder operation to a portion of the document not within the original window of display has been completed.

FIG. 2D is a block diagram illustrating an embodiment of an infinite grid display in which a reorder operation has been performed but not yet committed.

FIG. 3 is a block diagram illustrating an embodiment of a system configured to provide reorder and selection persistence of displayed objects.

FIG. 4 is a flow chart illustrating an embodiment of a process to retrieve thumbnails for display.

FIG. 5 is a flow chart illustrating an embodiment of a process to display thumbnails.

FIG. 6 is a flow chart illustrating an embodiment of a process to track user interactions with displayed thumbnails.

FIG. 7 is a flow chart illustrating an embodiment of a process to track user interactions with displayed thumbnails.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.

In various embodiments, a viewer framework component is provided, which can embed any 3rd party viewer and provides an integrated thumbnail panel which has the capability to load thumbnails for huge documents with any number of pages. The thumbnail panel would also allow inline operations to reorder thumbnail images which would in turn rearrange the pages of the document when committed to the server. The user is able to rearrange the rows (thumbnail images) of a large dataset in any order via easy to use gestures like drag drop, context menu, up/down keys etc. For example, if the user is viewing a 100,000 page document and wishes to move a sequence of pages say 2-5 after page 56000, he would be able to use the context menu after selecting those, navigate to the target location in thumbnail panel and paste. He could continue to rearrange the large dataset of thumbnails and commit once he is done with all of them.

FIG. 1 is a block diagram illustrating an embodiment of a content management system. In the example shown, a plurality of clients, represented in FIG. 1 by clients 102, 104, and 106, connect via a network 108, e.g., the Internet and/or a LAN or other enterprise network, to a content server 110 configured to provide access to content objects, such as documents, stored in a repository 112.

In various embodiments, a client such as clients 102, 104, and 106 is configured to provide an infinite grid display of a set of thumbnails each representing a component part of a larger document or other dataset. For example, a viewer may be provided which is configured to show a currently selected subset of thumbnails corresponding to a currently displayed range of pages or other objects comprising the larger document or other dataset. As used herein, unless otherwise indicated techniques described with respect to a dataset comprising a very large document made up of component pages may be applied to other datasets comprising other component object each of which may be represented by a corresponding thumbnail image.

In some embodiments, the viewer component is embedded in a client-side viewer framework, for example a runtime or other environment in which the third party viewer executes and/or is otherwise associated. The framework extends the basic functionality of the third party viewer—which is to display a current set of thumbnails and provide the ability to use them to navigate through the document—to include additional functionality as disclosed herein, including without limitation one or more of the following: the ability to display a range of thumbnails for a contiguous subset of pages comprising a very large document, regardless of document size (sometimes referred to herein as an “infinite” thumbnail and/or grid display); the ability to support reorder operations, including drag and drop or other selection and insertion gestures, regardless of document size and including to locations not initially in view, such that it is necessary to scroll to reach the desired insertion point; and the ability to remember operations, such as thumbnail selection, deletion, reorder, or page modification, until committed to the server, including the ability to indicate visually that such actions have been taken and have not yet been committed.

FIG. 2A is a block diagram illustrating an embodiment of an infinite grid display. In the example shown, a viewer interface 202A includes an “apply” button 204, the selection of which results in currently pending user changes to the document being committed to the server, for example by sending a network communication to a content server such as server 110 in FIG. 1 to commit changes by saving them to the document as stored persistently in the repository 112. The viewer interface 202A also includes a “cancel” button 206 to cancel pending changes and reset the viewer to display the document and associated thumbnails as received from the server and/or as last committed to the server. In a thumbnail display area 208, a set of thumbnails are displayed for a currently viewed range of pages, in this example pages 14-18. In other embodiments more or fewer thumbnails may be shown at one time. A cursor 210 has in the example shown been used to select thumbnails corresponding to pages 14 and 15, as indicated visually by the thicker line used as a border around the selected thumbnails, although any manner of indicating the selected state visually may be used. A scroll bar control 214 is provided to facilitate navigation to other parts of the document, which in various embodiments would result in a different set of thumbnails, i.e., those representing the range of pages to which the user has used the scroll bar control to navigate, being displayed in area 208.

In the example shown in FIG. 2A, an insertion cursor is shown between the thumbnails for pages 17 and 18, indicating in various embodiments that the user has selected the pages 14 and 15 and used cursor 210 to perform a drag and drop gesture to the location indicated between pages 17 and 18. In various embodiments, other gestures and/or inputs may be used to reorder thumbnails, for example holding down the control key while using the “+” and “−” keys to move thumbnails up or down as desired.

FIG. 2B is a block diagram illustrating an embodiment of an infinite grid display, in which the result of a drag and drop of the thumbnails representing pages 14 and 15 have been dragged to and dropped at an insertion point between pages 17 and 18. In the example shown, the thumbnails representing pages 14 and 15 remain selected and a visual indication of their selected state is provided. In some embodiments, selection of the “apply” button 204 would result in the reorder operation being committed to the server. The document in some embodiments would be repaginated and a refreshed set of thumbnails retrieved from the server and displayed in area 208, reflected the committed change.

FIG. 2C is a block diagram illustrating an embodiment of an infinite grid display in which a reorder operation to a portion of the document not within the original window of display has been completed. In this example, the aforementioned pages 14 and 15 have been moved to an insertion point between pages 313 and 314 in the document, for example via a cut and paste or other operation. As in FIG. 2B, the thumbnails for pages 14 and 15 remain selected and a visual indication of their selected state is provided.

FIG. 2D is a block diagram illustrating an embodiment of an infinite grid display in which a reorder operation has been performed but not yet committed. In the example shown, the user may have navigated to another portion of the document and/or deselected pages 14 and 15 without (as of yet) committing the changes. In this example, a visual indication that is different from the indication used to indicate a selected state is provided, to alert the user to the fact that a modification (in this case reorder) has been made but not yet committed. In various embodiments, this may alert the user to the need to commit a change, and may make it easier for the user to navigate to a previously modified portion of the document to verify the changes and/or make further modifications prior to committing changes to the server, if desired.

In various embodiments, other modifications, and persistence and consistent displaying of same until committed, are supported, including without limitation deletion of pages and/or changes to page content.

Some documents, for example in the enterprise context, can be very large, such as 10,000 or 100,000 pages. Typical browsers cannot handle 100,000 images in a thumbnail panel at a time and would crash. Hence an effective mechanism to fetch the range of thumbnails required is provided in various embodiments. The thumbnails images are stored on the server side as renditions to the document. As the user scrolls through the thumbnail panel or jumps to a particular page, the appropriate range of thumbnails is fetched and displayed.

In various embodiments, the fetched thumbnails are displayed in a manner that reflects any reorder operations that have been performed by the user before scrolling to a new location within the document. In some embodiments, a reorder cache is provided at the client side and used to keep track of reorder and/or other changes that have not been committed. In response to a request to fetch a sequence of thumbnails, the viewer and/or viewer framework first looks into this reorder cache maintained at the client side, and if the need thumbnails are not found the browser is used to obtain the needed thumbnails from the server.

FIG. 3 is a block diagram illustrating an embodiment of a system configured to provide reorder and selection persistence of displayed objects. In the example shown, a client system 302, for example a client computer system such as clients 102, 104, and 106 of FIG. 1, includes a communication interface, such as a network interface card, and a physical and/or wireless connection to a remote server via a network connection. A thumbnail retrieval, modification, and display logic 304 manages interactions with the server as required to cause thumbnails to be displayed and interacted with as disclosed herein. During a viewing and interaction session, the logic 304 retrieves thumbnail images as needed from the server and stores them in an intermediate store 306, for example a set of locations in memory. The logic 304 operates, as described more fully below, to populate a viewer primary data store 308 with the correct set of n (i.e., a prescribed number) of thumbnail images to be displayed currently by a third party viewer component 310. The viewer component 310 displays the thumbnails, for example in a grid or other view, in an order and with display attributes as determined by the logic 304. As the user interacts with thumbnails displayed in the grid, the logic 304 records user interactions, e.g., selection, reorder, and deletion interactions that have not yet been committed, in a table or other data structure stored in intermediate store 306. In various embodiments, thumbnails retrieved from the server are cached in the intermediate store and used to include previously retrieved thumbnails in the set of thumbnails provided to data store 308 to be displayed by viewer component 310.

In various embodiments, the aforementioned grid or other display structure is the client side representation of the thumbnail panel where the thumbnails are shown. At any point of time, the thumbnail panel shows only a prescribed number of images, e.g., 15 images, and swaps data in and out as required while scrolling. When user scrolls to an arbitrary position in the thumbnail panel, the logic 304 automatically fetches from the server and stores in the intermediate store 306 any thumbnails in the range of thumbnails to be displayed which are not already in the intermediate store 306 (e.g., as a result of having been displayed previously) and populates the data store 308 with the thumbnails to be displayed.

The logic 304 updates the intermediate store as required to keep track of all the reorder or other (e.g., delete) operations done within the thumbnails. As the user keeps reordering (or deleting) pages within the thumbnail panel, the changes are immediately recorded in the intermediate store. All reorder (and delete) operations are persisted only at the intermediate store, until committed to the server by the user, and the thumbnails panel would reflect these changes when a thumbnail range that has been affected by a previous but not yet committed user action is revisited by scrolling. In some embodiments, the logic 304 reads operation persistence data stored in intermediate store 306 to determine which thumbnails are to be displayed, in which order and with which display attributes (e.g., indication of selected state, indication of previously having been reordered, etc.), and causes the correct thumbnails to be stored in data store 308 and used by viewer component 310 to populate and display the grid of thumbnails.

FIG. 4 is a flow chart illustrating an embodiment of a process to retrieve thumbnails for display. In the example shown, when the viewer is opened an initial set of records, e.g., the first n thumbnails, is retrieved (402) and used to populate both the intermediate store (cache) and the display grid primary data store (404). The thumbnails are read from the data store and displayed in the grid (406), e.g., in a display area such as area 208 of FIGS. 2A-2D. If the user scrolls to another location within the document (408), it is determined whether the thumbnails for the destination location to which the user has scrolled are all already in the cache (410). If so, the data store is updated from the cache (412) and the correct set of thumbnails is displayed (406). If any selection, reorder, or other operations are pending and have not been committed, in various embodiments the thumbnails to be displayed, and the order and manner in which they are to be displayed, is determined in order to determine which thumbnails to check for in the cache (410). For example, in the example shown in FIG. 2C, in response to the user scrolling to a range beginning at page 312, a determination would be made, for example based on data stored in the intermediate store, which are the following four thumbnails to be displayed, in which order, and for each in which manner. In the example shown in FIG. 2C, a data structure would be read to determine that thumbnails 313, 14, 15, and 314 should follow 312, in that order, and that 14 and 15 should be displayed in a selected state.

Referring further to FIG. 4, if any thumbnail determined to be required is determined not to be in the cache already (410), those thumbnails are retrieved from the server (414), the intermediate and primary data store are updated (416), and the correct thumbnails are displayed in the correct order and manner (406). The process repeats as the user scrolls to different locations (408) until done (418), e.g., the viewer component is closed.

FIG. 5 is a flow chart illustrating an embodiment of a process to display thumbnails. In the example shown, as user interactions such as reorder, delete, or select operations are made, such actions are tracked in a table or other data structure (502), such as one stored in an intermediate data store such as data store 306 of FIG. 3. If the display is required to be updated (504), e.g., because the user interacts with the display and/or scrolls to a new location within the document, the user interaction data structure is read (506) to determine which thumbnails are to be displayed in which order and manner. The determined thumbnails are then displayed in the order and manner determined (508). The process continues until done (510), for example the viewer component is closed.

FIG. 6 is a flow chart illustrating an embodiment of a process to track user interactions with displayed thumbnails. In some embodiments, step 502 of FIG. 5 includes the process of FIG. 6. A table or other data structure to track reorder, deletion, selection, and/or other supported and tracked user interactions is initiated (602). If there is any change, e.g., a user gesture or other interaction with displayed thumbnails (604), the data structure is updated to keep track of the changes (606). If an “apply” or other control to commit changes is selected (608) changes stored previously in the data structure are flushed to the server (610), by sending one or more server requests to implement the changes at the server (e.g., page reorder, delete, etc.). If a “cancel” control is selected (612) the data structure is reset (614) and pending user interactions that have not yet been committed are forgotten. The process of FIG. 6 continues until done (616), e.g., the viewer component is closed.

FIG. 7 is a flow chart illustrating an embodiment of a process to track user interactions with displayed thumbnails. In some embodiments, step 606 of FIG. 6 includes the process of FIG. 7. In the example shown, when a user input is received (702) if the action is a thumbnail select action then one or more flags corresponded to the selected thumbnail(s) is/are set to a “selected” state (706). If the action is a de-select action (708), the associated selection state flags are reset of the unselected state (710). If the action is a page deletion (712) the corresponding pages are marked for deletion (714). If the action is a reorder input (716), data indicating the new order and location of affected thumbnails is stored (718). Subsequently, for example as the user scrolls through the document, data stored as shown in FIG. 7 is read to determine the correct thumbnails to be displayed, and the correct order and manner of display, for example as described above.

In various embodiments, techniques disclosed herein may allow one or more of the following to be accomplished: enhance the capability of infinite grid implementations to handle user interactions, such as page reorder, modification, and deletion, and not just viewing; scale up to any size of document having large number of pages; leverage the power of paged chunks for infinite content augmented by easy to use gestures that makes life easier for the user while reordering/modifying huge documents; give the user a visual confirmation of the new order of pages of that he would commit and hence prevents errors while modifying important documents; and/or maintain the selection of page(s) while scrolling in the thumbnail panel and preserves the context for the user.

Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive. 

What is claimed is:
 1. A system to provide a thumbnail view, comprising: a communication interface; a processor coupled to the communication interface; a memory coupled to the processor, the memory storing instructions executable by the processor to provide a client-side viewer framework comprising: a thumbnail image cache configured to store thumbnail images associated with a document stored at a remote server; a thumbnail display data store configured to store thumbnail images for display; a viewer component configured to provide a viewer interface that includes a thumbnail display area to display thumbnail images from the thumbnail display data store; an interaction tracking data structure to store user interaction data; instructions executable by the processor to: track user interactions with thumbnail images displayed in the thumbnail display area using the interaction tracking data structure to store the user interaction data, including tracking user interactions that represent changes to the document that have not been committed to the remote server; based on a request to view a location in the document: determine a set of thumbnail images associated with the location to display and an order in which to display the set of thumbnail images using the user interaction data in the interaction tracking data structure; determine if each thumbnail image in the set of thumbnail images is in the thumbnail image cache; based on a determination that one or more thumbnail images in the set of thumbnail images are not in the thumbnail image cache, retrieve the one or more thumbnail images from the remote server and cache the one or more thumbnail images in the thumbnail image cache; and update the thumbnail display data store with the set of thumbnail images for display in the thumbnail display area of the viewer component according to determined order.
 2. The system of claim 1, wherein the client-side viewer framework comprises instructions executable to: receive a commit changes input from the viewer component; based on the commit changes input: send a server request to the remote server to implement an uncommitted change to the document reflected in the interaction tracking data structure to implement the uncommitted change to the document; and flush the uncommitted change from the interaction tracking data structure.
 3. The system of claim 1, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the interaction tracking data structure comprises: receiving a select action with respect to a first thumbnail image displayed in the thumbnail display area; and setting a flag corresponding to the first thumbnail image to a selected state in the interaction tracking data structure.
 4. The system of claim 3, wherein the first thumbnail image is one of the set of thumbnail images and the viewer component is configured to display the first thumbnail image with a visual indication that the first thumbnail image is selected based on the flag corresponding to the first thumbnail image.
 5. The system of claim 4, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the interaction tracking data structure comprises: receiving an unselect action with respect to the first thumbnail image; and resetting the flag corresponding to the first thumbnail image to an unselected state.
 6. The system of claim 1, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the interaction tracking data structure comprises: receiving a page delete action with respect to a first thumbnail image displayed in the thumbnail display area; and marking a page corresponding to the first thumbnail image for deletion in the interaction tracking data structure.
 7. The system of claim 1, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the interaction tracking data structure comprises: receiving a reorder input with respect to a first thumbnail image; and storing data indicating a new order and location of the first thumbnail image.
 8. The system of claim 1, wherein the viewer component is configured to display the set of thumbnail images in the thumbnail display area to reflect uncommitted changes tracked in the interaction tracking data structure with respect the set of thumbnail images.
 9. The system of claim 1, wherein the client-side viewer framework further comprises instructions executable to: determine a display attribute for at least one thumbnail image in the set of thumbnail images based on the user interaction data, wherein the viewer component is configured to display the at least one thumbnail image according to the display attribute.
 10. The system of claim 9, wherein the display attribute comprises an indication of a selected state.
 11. The system of claim 9, wherein the display attribute comprises an indication of the at least one thumbnail image having been reordered.
 12. The system of claim 1, wherein the thumbnail display area is an infinite grid.
 13. A computer program product comprising a non-transitory computer readable medium storing instructions executable by a processor to: maintain a client-side thumbnail image cache configured to store thumbnail images associated with a document stored at a remote server; maintain a client-side thumbnail display data store configured to store thumbnail images for display; provide a client-side viewer component configured to provide a viewer interface that includes a thumbnail display area to display thumbnail images from the client-side thumbnail display data store; maintain a client-side interaction tracking data structure to store user interaction data; track user interactions with thumbnail images displayed in the thumbnail display area using the client-side interaction tracking data structure to store the user interaction data, including tracking user interactions that represent changes to the document that have not been committed to the remote server; based on a request to view a location in the document: determine a set of thumbnail images associated with the location to display and an order in which to display the set of thumbnail images using the user interaction data in the client-side interaction tracking data structure; determine if each thumbnail image in the set of thumbnail images is in the client-side thumbnail image cache; based on a determination that one or more thumbnail images in the set of thumbnail images are not in the client-side thumbnail image cache, retrieve the one or more thumbnail images from the remote server and cache the one or more thumbnail images in the client-side thumbnail image cache; and update the client-side thumbnail display data store with the set of thumbnail images for display in the thumbnail display area of the client-side viewer component according to determined order.
 14. The computer program product of claim 13, further comprising instructions executable to: receive a commit changes input from the client-side viewer component; based on the commit changes input: send a server request to the remote server to implement an uncommitted change to the document reflected in the client-side interaction tracking data structure to implement the uncommitted change to the document; and flush the uncommitted change from the client-side interaction tracking data structure.
 15. The computer program product of claim 13, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the client-side interaction tracking data structure comprises: receiving a select action with respect to a first thumbnail image displayed in the thumbnail display area; and setting a flag corresponding to the first thumbnail image to a selected state in the client-side interaction tracking data structure.
 16. The computer program product of claim 15, wherein the first thumbnail image is one of the set of thumbnail images and the client-side viewer component is configured to display the first thumbnail image with a visual indication that the first thumbnail image is selected based on the flag corresponding to the first thumbnail image.
 17. The computer program product of claim 15, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the client-side interaction tracking data structure comprises: receiving an unselect action with respect to the first thumbnail image; and resetting the flag corresponding to the first thumbnail image to an unselected state.
 18. The computer program product of claim 13, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the client-side interaction tracking data structure comprises: receiving a page delete action with respect to a first thumbnail image displayed in the thumbnail display area; and marking a page corresponding to the first thumbnail image for deletion in the client-side interaction tracking data structure.
 19. The computer program product of claim 13, wherein tracking user interactions with thumbnail images associated with the document stored on the remote server using the client-side interaction tracking data structure comprises: receiving a reorder input with respect to a first thumbnail image; and storing data indicating a new order and location of the first thumbnail image.
 20. The computer program product of claim 13, wherein the client-side viewer component is configured to display the set of thumbnail images in the thumbnail display area to reflect uncommitted changes tracked in the client-side interaction tracking data structure with respect the set of thumbnail images.
 21. The computer program product of claim 13, further comprising instructions executable to: determine a display attribute for at least one thumbnail image in the set of thumbnail images based on the user interaction data, wherein the client-side viewer component is configured to display the at least one thumbnail image according to the display attribute.
 22. The computer program product of claim 21, wherein the display attribute comprises an indication of a selected state.
 23. The computer program product of claim 21, wherein the display attribute comprises an indication of the at least one thumbnail image having been reordered.
 24. The computer program product of claim 13, wherein the thumbnail display area is an infinite grid. 